x86emul: correct compat mode system descriptor handling
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Apr 2017 09:04:02 +0000 (09:04 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 7 Apr 2017 11:07:24 +0000 (12:07 +0100)
commit39f79c4723460d89ed0e0c7aef5630c5a05abb1a
treefb07cad246c7da1cc9277d3c0ca8374742a30de9
parentb706e1c6af274fc1914884b3da5af27221f1e818
x86emul: correct compat mode system descriptor handling

There are some oddities to take care of here - see the code comment.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c